package top.soulblack.purchasesale.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import top.soulblack.purchasesale.model.InOutOrder;
import top.soulblack.purchasesale.model.VO.InOrOutOrderVO;

import java.util.List;

/**
 * @Author: 韦溜溜
 * @Description:
 * @Date: Create in 21:31 2019/8/25
 */
@Mapper
public interface InOutOrderMapper {

    int deleteByPrimaryKey(Integer id);

    int insert( InOutOrder inOutOrder);

    int insertSelective(InOutOrder inOutOrder);

    int updateByPrimaryKeySelective(InOutOrder inOutOrder);

    List<InOrOutOrderVO> selectInOrder();

    @Select("SELECT*FROM in_out_order where id = #{id}")
    InOutOrder selectInOrderById(@Param("id") String id);
}

